package lhb.test.SC.uum;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;

import lhb.test.SC.common.exception.HandlerExceptionResolver;


@SpringBootApplication
@EnableEurekaClient
public class UumApplication {

	public static void main(String[] args) {
		SpringApplication.run(UumApplication.class, args);
	}
	
	@Bean
	public HandlerExceptionResolver getHandlerExceptionResolver(){
		return new HandlerExceptionResolver();
	}
}